import Layout from '@/layout/admin/index.vue'
const error = [
  {
    path: '/admin/error',
    name: '错误页',
    component: Layout,
    redirect: '/admin/error/403',
    children: [
      {
        path: '/admin/error/403',
        name: '403错误页',
        component: () => import('@/views/adminpage/error/403.vue'),
        meta: { title: '编程智航-403错误页' }
      },
      {
        path: '/admin/error/404',
        name: '404错误页',
        component: () => import('@/views/adminpage/error/404.vue'),
        meta: { title: '编程智航-404错误页' }
      }
    ]
  }
]

export default error
